-
Notifications
You must be signed in to change notification settings - Fork 871
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix localization in Brave web-ui pages and Brave strings in general #829
Conversation
++. Yep, I'm not sure will it work like that on Android or not. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
++
@@ -6,6 +6,62 @@ | |||
<emit emit_type='prepend'></emit> | |||
</output> | |||
<output filename="brave_generated_resources.pak" type="data_package" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we generate brave_generated_resources.pak
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, it's needed for the includes
, otherwise, the includes
for google tag manager polyfill and google services fails to load.
Hmm, I also tried to make |
Fix localization in Brave web-ui pages and Brave strings in general
Fix localization in Brave web-ui pages and Brave strings in general
Before this PR localization would not show up for our own custom strings.
I tried making our own version of brave_repack_locales to avoid the patch but it gave some errors about things like "fr.pak" already exists. It seemed not easy to resolve so went with this since it was working and pretty lite on patching.
Fix brave/brave-browser#2035
After this lands I think I'll need a bit more to get it to work on Android, I'll do a PR for Android separate.
Submitter Checklist:
npm test brave_unit_tests && npm test brave_browser_tests
) ongit rebase master
(if needed).git rebase -i
to squash commits (if needed).Test Plan:
Reviewer Checklist: